package org.shop.dao;

import java.util.Map;

import org.shop.dao.base.BaseDaoMapper;
import org.shop.entity.Praise;

public interface PraiseMapper extends BaseDaoMapper<Praise, Long>{
	
	/**
	 * app根据条件获取点赞信息
	 * @param params
	 * @return
	 */
	public Praise getPraise(Map<String, Object> params);
	
	/**
	 * app根据targetId获取点赞量
	 * @param params
	 * @return
	 */
	public int getPraiseCount(Map<String, Object> params);
}